package com.city.service.pub.impl;

import com.city.domain.party.PubCountry;
import com.city.repository.party.PubCountryRepository;
import com.city.service.pub.PubCountryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PubCountryServiceImpl implements PubCountryService {
    @Autowired
    private PubCountryRepository pubCountryRepository;

    @Override
    public List<PubCountry> findAll() {
        return pubCountryRepository.findAll();
    }
}
